<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" >
<head>
    <meta charset="UTF-8">
    <title>第一个网页</title>
    <style>
        .first{
            color: rebeccapurple;
        }
    </style>
</head>
<body>
<h1 th:class="first">第一个网页</h1>


<h1 th:text="${name}"></h1>

<hr color="blue">
<h2 th:each="users:${users}">[[${users}]]</h2>

<hr color="green">

<h2>
    <span th:each="users : ${users}" th:text="${users}"></span>
</h2>

<hr color="black">
<h1>是否转义特殊字符</h1>
<span th:text="${title}"></span>
<span th:utext="${title}"></span>
<hr color="black">
<span>[[${title}]]</span>
<span>[(${title})]</span>

<a th:href="@{http://www.baidu.com}">百度</a>

</body>
</html>